<?php

class Core_Form_Admin_Menu_Edit extends Form
{
	function init()
	{
		$this -> setTitle('Configure Menu');

		$this -> addChild('text', 'title', array('label' => 'Title'));

		$this -> addChild('text', 'css_id', array('label' => 'Css ID'));

		$this -> addChild('text', 'css_class', array('label' => 'Css Class'));

		$this -> addChild('radio', 'clearfix', array(
			'label' => 'Clearfix',
			'multiOptions' => array(
				1 => 'Yes',
				0 => 'No',
			),
			'value'=>0,
		));

		$this -> addChild('group', '_buttons');

		$this -> _buttons -> addChild('submit', '_submit') -> addChild('cancel', '_cancel');

	}

}
